/*
 * For com.royal.art
 * Copyright [2015/11/23] By FCHEN
 */
package com.commons.exception;

import com.commons.exception.msg.MobilePhoneErrorMsg;

/**
 * MobilePhoneException
 * 手机号异常
 * @author FCHEN
 * @date 2015/11/23
 */
public class MobilePhoneException extends AbstractException {

    private static final long serialVersionUID = 2651880335166377513L;

    public MobilePhoneException(int code, String msg) {
        super(code, msg);
    }

    public MobilePhoneException(MobilePhoneErrorMsg msg) {
        super(msg.getCode(), msg.getMsg());
    }

}
